 
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@page import="doantotnghiep.model.Customer"%>
<%@taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@page import="java.util.ArrayList"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Thêm nhà cung cấp</title>
</head>

<br>
<br>
<div >
	<center>
		<h1 style="color: blue;">THÊM NHÀ CUNG CẤP</h1>
		<br> <br>

		<!-- In dòng thông báo là thành công hay không -->
		<p style="color: green; font-size: 15px; font-weight: bold;">
		</p>
		<br>

		<div align="center">

       <form:form method="POST" commandName="ProviderDTO" >
		<table>

			<tr>
				<td><form:label path="fullName">Tên công ty:</form:label></td>
				<td><form:input id="companyName" path="fullName"value="${fullName}"></form:input></td>
				<td><span id="providername-error" style="color:red"> </span></td>
			</tr>
			<tr>
				<td><form:label path="address">Địa chỉ:</form:label></td>
				<td><form:input id = "companyAddress" path="address" value="${address}" /></td>	
				<td><span id="provideraddr-error" style="color:red"> </span></td>
			</tr>
            <tr>
				<td><form:label path="telNumber">Điện thoại:</form:label></td>
				<td><form:input id="companyTel" path="telNumber" value="${telNumber}" /></td>	
				<td><span id="providertel-error" style="color:red"> </span></td>
			</tr>
			 <tr>
				<td><form:label path="email">Email:</form:label></td>
				<td><form:input id="companyMail" path="email" value="${email}" /></td>	
				<td><span id="providermail-error" style="color:red"> </span></td>
			</tr>
			<tr>
				<td ><input id= "addprovidersubmit" type="button" value="Thêm" /></td>
				<td ><input id="addprovidercancel" type="button" value="Hủy" /></td>
			
			</tr>
		 </table>
	     </form:form>

		</div>


	</center>
</div>
<br>
<br>
<br>
<br>
<br>
<br>
</body>
</html>
